@FeignClient(name = "service-cart")  // 假设购物车服务名为service-cart
public interface CartClient {
    @GetMapping("/cart/generateOrderNo")
    String generateOrderNo();

    @GetMapping("/cart/getCart")
    Object getCart(@RequestParam Long userId);

    @PostMapping("/cart/clearCart")
    void clearCart(@RequestParam Long userId);
}
